package me.zhengjie.modules.system.excel.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

@Data
public class GodownEntryDetailVo {

    @ExcelProperty(value = "出货单号" ,index = 0)
    private String godownEntryNo;

    @ExcelProperty(value = "项次" ,index = 1)
    private Integer index;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd")
    @ExcelProperty(value = "出货日期" ,index = 2)
    private Date godownEntryDate;

    @ExcelProperty(value = "账款客户" ,index = 3)
    private String customer;

    @ExcelProperty(value = "客户简称" ,index = 4)
    private String shortCustomerName;

    @ExcelProperty(value = "订单项次" ,index = 5)
    private Integer orderIndex;

    @ExcelProperty(value = "客户订单号" ,index = 6)
    private String customerOrderNo;

    @ExcelProperty(value = "产品编号" ,index = 7)
    private String model;

    @ExcelProperty(value = "品名规格" ,index = 8)
    private String productName;

    @ExcelProperty(value = "单位" ,index = 9)
    private String unit;

    @ExcelProperty(value = "币别" ,index = 10)
    private String currency;

    @ExcelProperty(value = "单价" ,index = 11)
    private BigDecimal unitPrice;

    @ExcelProperty(value = "出货数量" ,index = 12)
    private Integer quantity;

    @ExcelProperty(value = "未税金额" ,index = 13)
    private BigDecimal untaxAmount;

    @ExcelProperty(value = "未税金额" ,index = 14)
    private BigDecimal taxAmount;

    @ExcelProperty(value = "备注" ,index = 15)
    private String remark;

}
